|
CATIA V5 Programmierung : LS-OPT and CATIA
Sam2021 am 26.03.2018 um 11:42 Uhr (1)
Dear Bernd,Thank you very much for the feedback. 1. CATIA release: v5-6 relaease 2014, Build day: 01-12-2014.20.002. In this attached CAT file, i would like to change the parameters as listed, "Amplitude, angle, Radius, wavelength" I will fix the upper and lower bound for those parameters in the LS-OPT GUI. So everytime the parameter gets changed, the LS OPT will request the CNET.exe ( if i am correct) to realise the changes in the model using .CATVBS script and give output as .stp file to Hypermesh. == It ...
|
| In das Form CATIA V5 Programmierung wechseln |
|
CATIA V5 Programmierung : LS-OPT and CATIA
Sam2021 am 31.03.2018 um 14:44 Uhr (1)
Dear Bernd, About the .CATscript, it only works when i go to command line "CNEXT.exe directory" -macro"scriptdirectory". so if i double click the macros script file while CATIA interface is closed, the CATIA userinterface opens up and just blank (i.e. it wont run the model"). Should i include any command to the macro script wherein it says run it in batchmode? Thank you very much and looking forward to hear from you.
|
| In das Form CATIA V5 Programmierung wechseln |
|
CATIA V5 Programmierung : LS-OPT and CATIA
Sam2021 am 26.03.2018 um 10:01 Uhr (5)
Dear everyone, Good morning. "Sincere apologies that i have made my request in English"I am trying to build a model for optimization on LS-OPT. hence i would like to use my parametric CATIA model and couple it with LS OPT using makro .CATVbs script using CNET.exe. Could someone please share some guidance as how its done? or please share some skript where i could get output as .stp file? the model is a simple side sill where parameters such as angle will be changed. I use CATIA v5. any help wll ...
|
| In das Form CATIA V5 Programmierung wechseln |
|
CATIA V5 Programmierung : LS-OPT and CATIA
Sam2021 am 31.03.2018 um 19:47 Uhr (1)
Dear Bernd, Am i supposed to include anything such as "execute" in the beginning of .CATScript file in order for the CATIA application to start automatically when the .CATSCript is executed? Thank you very much.
|
| In das Form CATIA V5 Programmierung wechseln |
|
CATIA V5 Programmierung : LS-OPT and CATIA
Sam2021 am 31.03.2018 um 16:21 Uhr (1)
Dear Bernd, 1. Command line ["C:FK-ProgrammeDassault SystemesB24win_b64codeinCNEXT.exe" -batch -macro "E:DateiResultsOptimizationLS_OPT_resultsOptimization_model_1Macro_schweller_model_lsopt.CATScript"[ == result == a new stp file was created and saved in the directory but the CATIA interface was not opened (everything happened in the background". 2. ["C:FK-ProgrammeDassault SystemesB24win_b64codeinCNEXT.exe" -env CATIA.V5-R2014.B24 -batch -macro "E:DateiResultsOptimizationLS_OPT_resultsOptimization_mode ...
|
| In das Form CATIA V5 Programmierung wechseln |
|
CATIA V5 Programmierung : How to add syntax Normal Termination to the existing .CATScript?
Sam2021 am 14.04.2018 um 08:45 Uhr (1)
Hello all, I would like to run a parametric CATIA model using .CATScript. It will then be coupled with LS-OPT. So in order to comply with the LS-Opt specification, the script for CATIA (here .CATScript) is supposed to have a syntax "normal termination" which would mean after running the script every time, it should print "normal termination". Could someone please help me how to add this function to the existing .CATScript? Thank you very much.
|
| In das Form CATIA V5 Programmierung wechseln |
|
CATIA V5 Programmierung : LS-OPT and CATIA
Sam2021 am 27.03.2018 um 18:51 Uhr (1)
Dear Bernd, Thank you very much for the response. I will take a look. Best regards,Sam
|
| In das Form CATIA V5 Programmierung wechseln |
|
CATIA V5 Programmierung : LS-OPT and CATIA
Sam2021 am 26.03.2018 um 14:36 Uhr (1)
okay. i will take a look into the manual and build the script further and get back to you. Thank you.Best regards,Sam
|
| In das Form CATIA V5 Programmierung wechseln |
|
CATIA V5 Programmierung : LS-OPT and CATIA
Sam2021 am 28.03.2018 um 08:15 Uhr (1)
Dear Bernd, is it still possible to convert the .CATscript to .vbscript? Thank you.
|
| In das Form CATIA V5 Programmierung wechseln |
|
CATIA V5 Programmierung : LS-OPT and CATIA
Sam2021 am 26.03.2018 um 13:28 Uhr (1)
I tried and created a .catvbs file for the problem. Could you please take alook when you have time and let me know if its correct?Thank you
|
| In das Form CATIA V5 Programmierung wechseln |
|
CATIA V5 Programmierung : LS-OPT and CATIA
Sam2021 am 27.03.2018 um 08:15 Uhr (1)
Dear Bernd, Thank you very much. the code runs perfectly fine. In order to run .CATscript in batch, can i still use CNEXT.exe command? Thank you Bet regards, Sam
|
| In das Form CATIA V5 Programmierung wechseln |
|
CATIA V5 Programmierung : LS-OPT and CATIA
Sam2021 am 26.03.2018 um 13:49 Uhr (1)
Hello, 1. Please ignore the previous email. it was sent before noticing your latest reply. 2. Now I have used your example script and built one for my problem. I kindly request you to take a look when you have time. thank you
|
| In das Form CATIA V5 Programmierung wechseln |
|
CATIA V5 Programmierung : LS-OPT and CATIA
Sam2021 am 26.03.2018 um 12:49 Uhr (1)
If you see the model, under feature tree == arameters, i would want the LS OPT tool to vary the last four parameters. SO, the combination could be more than i could do manually. Hence i thought i would use the script where it does the job automatically. Best regards, Sam
|
| In das Form CATIA V5 Programmierung wechseln |